<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="stripes" uri="http://stripes.sourceforge.net/stripes.tld"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
  <head>
    <title>Edit Organization</title>
    <link href="styles.css" rel="stylesheet" type="text/css" />
  </head>

  <body>
    Add/Edit Organization: <br /><br />
  <stripes:form id="editOrganization" action="/Organization.action">
    <table id="organizationEdit" class="plainTable" border="1">
      <tr>
        <td class="label">Name:</td>
        <td><stripes:text name="name" value="${organization.name}" size="40" /></td>
      </tr>
      <tr>
        <td class="label">Type:</td>
        <td><stripes:text name="type" value="${organization.type}" size="40" /></td>
      </tr>
      <tr>
        <td class="label">Contact:</td>
        <td><stripes:text name="contact" value="${organization.contact}" size="40" /></td>
      </tr>
      <tr><td class="label">Affiliated Researchers:</td>
        <td><stripes:textarea name="affiliatedResearchers" 
                              value="${organization.affiliatedResearchers}"
                              class="text" 
                              rows="5" 
                              cols="40" />
        </td>
      </tr>
      <tr>
        <td class="label">Country:</td>
        <td><stripes:text name="country" value="${organization.country}" size="40" /></td>
      </tr>
      <tr><td class="label">Research Keywords:</td>
        <td><stripes:textarea name="researchKeywords" 
                              value="${organization.researchKeywords}"
                              class="text" 
                              rows="5" 
                              cols="40" />
        </td>
      </tr>
      <tr>
        <td class="label">Research Description:</td>
        <td><stripes:textarea name="researchDescription" 
                              value="${organization.researchDescription}"
                              class="text" 
                              rows="5" 
                              cols="60" /></td>
      </tr>
      <tr>
        <td class="label">Home Page:</td>
        <td><stripes:text name="homePage" value="${organization.homePage}" size="40" /></td>
      </tr>
    </table>
    <stripes:submit value="Save" name="save"/>
    </stripes:form>    
  </body>
</html>